package arraysCommonMethods;

import java.util.Arrays;

/**
 * @ClassName ArraysSort
 * @Description 排序
 * @Author 李明忠
 * @Date 2025/5/21 21:15
 * @Version 1.0
 */
public class ArraysSort {
    public static void main(String[] args) {
        int[] arr = {5,4,3,2,1};
        Arrays.sort(arr);
        System.out.println(Arrays.toString(arr));
    }
}
